package com.bah.tract.mapping;

public enum TaskType {
	JiraIssue(com.bah.tract.model.JiraIssue.class,
			"select t from JiraIssue t where t.issueNumber = :issueNumber"), MSProjectTask(
			com.bah.tract.model.JiraIssue.class, ""), ChargeNumber(
			com.bah.tract.model.ChargeNumber.class, "select t from ChargeNumber t where t.number = :number");
	private Class<? extends com.bah.tract.model.Task> mClazz;
	private String query;

	private TaskType(Class<? extends com.bah.tract.model.Task> clazz,
			String query) {
		mClazz = clazz;
		this.query = query;
	}

	public Class<? extends com.bah.tract.model.Task> getTaskClass() {
		return mClazz;
	}

	public String getQuery() {
		return query;
	}

}
